<?php
/**
 * Created by PhpStorm.
 * User: admin
 * Date: 2018/12/7
 * Time: 9:38
 */

namespace app\storage\model;


use think\Model;

class RoleModel extends Model
{
    protected $table = 'cmf_role';
    protected $pk = 'id';

    public function UserModel(){
        return $this->belongsToMany('UserModel','role_user','role_id','id');
    }
}